/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SecretSanta.service;

/**
 *
 * @author Mallisa
 */
public interface MailClient {

    /**
     * Retrieves message from config.properties, inputs parameters into message and e-mails
     * to all participants of the Secret Santa
     * @param recipient_email   (String) Email address of the Secret Santa
     * @param recipient_name    (String) Name of the Secret Santa
     * @param secret_name       (String) Name of the recipient of Secret Santa's gift
     * @param year              (int) Year that the secret name was assigned
     * @return true if email sent successfully, else false
     */
    public boolean send (String recipient_email, String recipient_name, String secret_name, int year);
    
}
